package co.yixiang.yshop.module.crm.controller.admin.crmworkwxconfig.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 企业微信配置新增/修改 Request VO")
@Data
public class CrmWorkWxConfigSaveReqVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "24668")
    private Integer id;

    @Schema(description = "企业名称", example = "赵六")
    private String corpName;

    @Schema(description = "企业ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "4483")
    @NotEmpty(message = "企业ID不能为空")
    private String corpId;

    @Schema(description = "通讯录secret", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "通讯录secret不能为空")
    private String contactsSecret;

    @Schema(description = "客户secret", requiredMode = Schema.RequiredMode.REQUIRED)
    private String customersecret;

    @Schema(description = "客户回调URL", example = "https://www.yixiang.co")
    private String customerReturnUrl;

    @Schema(description = "客户回调token")
    private String customerReturnToken;

    @Schema(description = "客户asekey")
    private String customerEncodingAsekey;

    @Schema(description = "自建应用agent_id", requiredMode = Schema.RequiredMode.REQUIRED, example = "19839")
    private String agentId;

    @Schema(description = "自建应用secret", requiredMode = Schema.RequiredMode.REQUIRED)
    private String secret;

    @Schema(description = "归属部门ID", example = "26903")
    private Long deptId;

}